import cv2 as cv

image = cv.imread('/Users/apple/Desktop/lena.jpg') # 读取图片到内存
cv.imshow('Hello World!', image) # 在窗口显示图片
cv.waitKey(0) # 按任意键继续
cv.destroyAllWindows()